package com.serverImpl;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.beans.ReadingData;
import com.server.ReadingDataService;
import org.springframework.stereotype.Service;
import java.util.List;


@Service
public class ReadingDataServiceImpl extends ServiceImpl<BaseMapper<ReadingData>, ReadingData> implements ReadingDataService {
    @Override
    public List<ReadingData> getAllReadingData() {
        return list();
    }

    @Override
    public ReadingData getReadingDataById(int id) {
        return getById(id);
    }
}
